export default {
  namespaced: true,

  state: {
    accounts: 'x',
    gasPrice: 0,
  },
  mutations: {
    Accounts(state: { accounts: any; }, data: any) {
      state.accounts = data
    },
    GasPrice(state: { gasPrice: any; }, data: any){
      state.gasPrice = data
    },
  },
  actions: {
    AccountsVal({ commit }: any, data: any) {
      commit('Accounts', data)
    },
    GasPriceVal({ commit }: any, data: any){
      commit('GasPrice', data)
    },
  },

};